package com.scm.utils;

import java.io.IOException;
import java.util.Properties;

public class PropertiesUtil {
	public static String  getProperty(String propertiesFile,String key){
		String value="";
		Properties p=new Properties();
		try {
			p.load(UploadAndDownUtil.class.getClassLoader().getResourceAsStream(propertiesFile));
			value=p.getProperty(key);
		} catch (IOException e) {
			e.printStackTrace();
		}
		return value;
	}
}
